<script setup lang="ts">
function handleClickLeft() {
  uni.navigateBack()
}
</script>

<template>
  <view class="h-full flex flex-col overflow-hidden">
    <wd-navbar title="结账方式设置" left-text="返回" left-arrow @click-left="handleClickLeft">
      <template #right>
        <wd-button type="text">排序</wd-button>
      </template>
    </wd-navbar>
    <scroll-view scroll-y class="box-border flex-1 overflow-hidden" :show-scrollbar="false">
      <wd-cell-group border>
        <wd-cell icon="picture" title="人民币" value="已启用" is-link to="/pages/payment/setting" />
        <wd-cell icon="picture" title="扫码支付" value="已启用" is-link />
        <wd-cell icon="picture" title="会员卡" value="已停用" is-link />
      </wd-cell-group>
    </scroll-view>
    <view class="flex border-t-1 border-border border-t-solid bg-white p-4" />
  </view>
</template>

<style scoped lang="scss"></style>
